package cn.tj.service;

import cn.tj.entity.Register;
import cn.tj.entity.User;

public interface UserService {
    User findByAccount(String account);

    void register(User user);

    User userInfo();

    Register findRegisterByAccount(String account);

    void editInfo(User user);

    void editPassword(String account,String password);

    void editAvatar(String avatar);
}
